package request

import (
	"gitee.com/cjsn/topsdk/ability654/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterServicestoreUpdateservicestoreRequest struct {
	/*
	   网点     */
	ServiceStore *domain.TmallServicecenterServicestoreUpdateservicestoreServiceStoreDto `json:"service_store" required:"true" `
}

func (s *TmallServicecenterServicestoreUpdateservicestoreRequest) SetServiceStore(v domain.TmallServicecenterServicestoreUpdateservicestoreServiceStoreDto) *TmallServicecenterServicestoreUpdateservicestoreRequest {
	s.ServiceStore = &v
	return s
}

func (req *TmallServicecenterServicestoreUpdateservicestoreRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ServiceStore != nil {
		paramMap["service_store"] = util.ConvertStruct(*req.ServiceStore)
	}
	return paramMap
}

func (req *TmallServicecenterServicestoreUpdateservicestoreRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
